<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
	</head>
	<body class="pd30" data-id="userPasswd"> 
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="center-from b-w">
			<form class="layui-form" action="{:url('user.handle/upgrade')}" method="post">
				<ul class="center-from-ul clearfix">
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">新帐号密码</label>
							<div class="layui-input-block">
								<input type="password" lay-verify="pass" name="password" autocomplete="off" placeholder="请输入帐号密码" class="layui-input">
							</div>
						</div>
					</li>
					<li class="width6">
						<div class="layui-form-item">
							<label class="layui-form-label">重复新密码</label>
							<div class="layui-input-block">
								<input type="password" lay-verify="pass" name="rpassword" autocomplete="off" placeholder="再次输入帐号密码" class="layui-input">
							</div>
						</div>
					</li>
					<li>
						<div class="layui-form-item">
							<label class="layui-form-label">短信验证码</label>
							<div class="layui-input-inline">
								<input type="text" name="smscode" lay-verify="empty" autocomplete="off" placeholder="请输入短信验证码" class="layui-input">
							</div>
							<div class="layui-input-inline" style="width: 120px;">
								<input type="button"  autocomplete="off" value="获取验证码" id="userUpgradeSend" class="layui-btn layui-bg-orange">
							</div>
						</div>
					</li>
					<li style="display: none;"><input type="hidden" id="token" name="token" value="{$token}"></li>
				</ul>
				<p class="center-from-p"><input type="button" lay-submit="submit" lay-filter="userPasswdSubmit" class="layui-btn layui-bg-orange" value="确定修改"></p>
			</form>
		</div>


<script>
	//修改密码
	var changePwdSrc="{:url('user.handle/change_pwd')}";
	//获取短信验证码
	var sendSmscodeSrc="{:url('sms.handle/send_smscode')}";
	
</script>
<script type="text/javascript" src="__STATIC__/home/js/public.js"></script>
</body>
</html>